package com.atguigu.gulimall.product.dao;

import com.atguigu.common.constant.ProductConstant;
import com.atguigu.gulimall.product.entity.SpuInfoEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * spu信息
 *
 * @author zr
 * @email zr@gmail.com
 * @date 2022-08-25 21:07:02
 */
@Mapper
public interface SpuInfoDao extends BaseMapper<SpuInfoEntity> {
    /**
     * 修改状态为上架
     *
     * @param spuId
     * @param spuUp
     */
    void updateSpuStatus(@Param("spuId") Long spuId, @Param("spuUp") Integer spuUp);

}
